package com.tyqx.hashchaindao.mapper;

import com.tyqx.hashchainbean.module.JZTCodeCirculationRelationship;
import com.tyqx.hashchainbean.module.JZTLogisticsRelationship;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JZTCodeCirculationRelationshipMapper {

    public Integer addJZTCodeCirculationRelationship(JZTCodeCirculationRelationship jztCodeCirculationRelationship);

    public List<String> getParentTraceabilityCodeByTraceabilityCode(String traceabilityCode);

    public Integer insertBatch(@Param("jztCodeCirculationRelationshipList") List<JZTCodeCirculationRelationship> jztCodeCirculationRelationshipList);
}
